package com.qfedu.fmmall.dao;

import com.qfedu.fmmall.entity.Category;
import com.qfedu.fmmall.general.GeneralDAO;
import com.qfedu.fmmall.vo.CategoryVO;

import java.util.List;

public interface CategoryMapper extends GeneralDAO<Category> {
    List<CategoryVO> selectAllCategory();

    List<CategoryVO> selectAllCategory2(Integer parentId);

    //查询一级类别
    List<CategoryVO> selectFirstLevelCategories();
}